<!DOCTYPE html>



  


<html class="theme-next pisces use-motion" lang="zh-Hans">
<head>
  <meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<meta name="theme-color" content="#222">









<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
















  
  
  <link href="/lib/fancybox/source/jquery.fancybox.css?v=2.1.5" rel="stylesheet" type="text/css" />







<link href="/lib/font-awesome/css/font-awesome.min.css?v=4.6.2" rel="stylesheet" type="text/css" />

<link href="/css/main.css?v=5.1.4" rel="stylesheet" type="text/css" />


  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png?v=5.1.4">


  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png?v=5.1.4">


  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png?v=5.1.4">


  <link rel="mask-icon" href="/images/logo.svg?v=5.1.4" color="#222">





  <meta name="keywords" content="笔记,PHP,代码审计," />





  <link rel="alternate" href="/atom.xml" title="Mugen" type="application/atom+xml" />






<meta name="description" content="前言之前XMAN结营赛的时候，又是靠偷payload活过来的，补洞又不会补，PHP不熟，代码审计还是要认认真真学下。加油鸭！ 思维导图 正文不知道咋入门问了下差池其羽师傅，他安利了个视频给我。Virink. https://www.ichunqiu.com/course/54473 环境准备 PHPstudy  Sublime Text 2  Firefox  …   Sublime Text2插">
<meta name="keywords" content="笔记,PHP,代码审计">
<meta property="og:type" content="article">
<meta property="og:title" content="代码审计入门笔记">
<meta property="og:url" content="http://legoc.gitee.io/2018/10/09/代码审计入门笔记/index.html">
<meta property="og:site_name" content="Mugen">
<meta property="og:description" content="前言之前XMAN结营赛的时候，又是靠偷payload活过来的，补洞又不会补，PHP不熟，代码审计还是要认认真真学下。加油鸭！ 思维导图 正文不知道咋入门问了下差池其羽师傅，他安利了个视频给我。Virink. https://www.ichunqiu.com/course/54473 环境准备 PHPstudy  Sublime Text 2  Firefox  …   Sublime Text2插">
<meta property="og:locale" content="zh-Hans">
<meta property="og:image" content="http://legoc.gitee.io/2018/10/09/代码审计入门笔记/1.png">
<meta property="og:image" content="http://legoc.gitee.io/2018/10/09/代码审计入门笔记/2.jpg">
<meta property="og:image" content="http://legoc.gitee.io/2018/10/09/代码审计入门笔记/3.jpg">
<meta property="og:image" content="http://legoc.gitee.io/2018/10/09/代码审计入门笔记/4.png">
<meta property="og:image" content="http://legoc.gitee.io/2018/10/09/代码审计入门笔记/5.jpg">
<meta property="og:image" content="http://legoc.gitee.io/2018/10/09/代码审计入门笔记/6.png">
<meta property="og:image" content="http://legoc.gitee.io/2018/10/09/代码审计入门笔记/7.jpg">
<meta property="og:updated_time" content="2018-11-28T11:38:43.773Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="代码审计入门笔记">
<meta name="twitter:description" content="前言之前XMAN结营赛的时候，又是靠偷payload活过来的，补洞又不会补，PHP不熟，代码审计还是要认认真真学下。加油鸭！ 思维导图 正文不知道咋入门问了下差池其羽师傅，他安利了个视频给我。Virink. https://www.ichunqiu.com/course/54473 环境准备 PHPstudy  Sublime Text 2  Firefox  …   Sublime Text2插">
<meta name="twitter:image" content="http://legoc.gitee.io/2018/10/09/代码审计入门笔记/1.png">



<script type="text/javascript" id="hexo.configurations">
  var NexT = window.NexT || {};
  var CONFIG = {
    root: '/',
    scheme: 'Pisces',
    version: '5.1.4',
    sidebar: {"position":"left","display":"post","offset":12,"b2t":true,"scrollpercent":true,"onmobile":false},
    fancybox: true,
    tabs: true,
    motion: {"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},
    duoshuo: {
      userId: '0',
      author: '博主'
    },
    algolia: {
      applicationID: '',
      apiKey: '',
      indexName: '',
      hits: {"per_page":10},
      labels: {"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}
    }
  };
</script>



  <link rel="canonical" href="http://legoc.gitee.io/2018/10/09/代码审计入门笔记/"/>





  <title>代码审计入门笔记 | Mugen</title>
  








</head>

<body itemscope itemtype="http://schema.org/WebPage" lang="zh-Hans">

  
  
    
  

  <div class="container sidebar-position-left page-post-detail">
    <div class="headband"></div>

    <header id="header" class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-wrapper">
  <div class="site-meta ">
    

    <div class="custom-logo-site-title">
      <a href="/"  class="brand" rel="start">
        <span class="logo-line-before"><i></i></span>
        <span class="site-title">Mugen</span>
        <span class="logo-line-after"><i></i></span>
      </a>
    </div>
      
        <p class="site-subtitle">lego's blog</p>
      
  </div>

  <div class="site-nav-toggle">
    <button>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
    </button>
  </div>
</div>

<nav class="site-nav">
  

  
    <ul id="menu" class="menu">
      
        
        <li class="menu-item menu-item-home">
          <a href="/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-home"></i> <br />
            
            首页
          </a>
        </li>
      
        
        <li class="menu-item menu-item-categories">
          <a href="/categories/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-th"></i> <br />
            
            分类
          </a>
        </li>
      
        
        <li class="menu-item menu-item-archives">
          <a href="/archives/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-archive"></i> <br />
            
            归档
          </a>
        </li>
      
        
        <li class="menu-item menu-item-tags">
          <a href="/tags/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-tags"></i> <br />
            
            标签
          </a>
        </li>
      
        
        <li class="menu-item menu-item-links">
          <a href="/links" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-flag"></i> <br />
            
            朋友
          </a>
        </li>
      
        
        <li class="menu-item menu-item-about">
          <a href="/about/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-user"></i> <br />
            
            关于我
          </a>
        </li>
      

      
    </ul>
  

  
</nav>



 </div>
    </header>

    <main id="main" class="main">
      <div class="main-inner">
        <div class="content-wrap">
          <div id="content" class="content">
            

  <div id="posts" class="posts-expand">
    

  

  
  
  

  <article class="post post-type-normal" itemscope itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="http://legoc.gitee.io/2018/10/09/代码审计入门笔记/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="name" content="lego">
      <meta itemprop="description" content="">
      <meta itemprop="image" content="https://raw.githubusercontent.com/legoc/legoc.github.io/master/about/index/baye.png">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="Mugen">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">代码审计入门笔记</h1>
        

        <div class="post-meta">
          <span class="post-time">
            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              
              <time title="创建于" itemprop="dateCreated datePublished" datetime="2018-10-09T08:59:36+08:00">
                2018-10-09
              </time>
            

            

            
          </span>

          
            <span class="post-category" >
            
              <span class="post-meta-divider">|</span>
            
              <span class="post-meta-item-icon">
                <i class="fa fa-folder-o"></i>
              </span>
              
                <span class="post-meta-item-text">分类于</span>
              
              
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/categories/笔记/" itemprop="url" rel="index">
                    <span itemprop="name">笔记</span>
                  </a>
                </span>

                
                
              
            </span>
          

          
            
          

          
          

          
            <span class="post-meta-divider">|</span>
            <span class="page-pv"><i class="fa fa-file-o"></i> 阅读次数
            <span class="busuanzi-value" id="busuanzi_value_page_pv" ></span>
            </span>
          

          

          

        </div>
      </header>
    

    
    
    
    <div class="post-body" itemprop="articleBody">

      
      

      
        <h1 id="前言"><a href="#前言" class="headerlink" title="前言"></a>前言</h1><p>之前XMAN结营赛的时候，又是靠偷payload活过来的，补洞又不会补，PHP不熟，代码审计还是要认认真真学下。加油鸭！</p>
<h1 id="思维导图"><a href="#思维导图" class="headerlink" title="思维导图"></a>思维导图</h1><p><img src="/2018/10/09/代码审计入门笔记/1.png" alt=""></p>
<h1 id="正文"><a href="#正文" class="headerlink" title="正文"></a>正文</h1><p>不知道咋入门问了下差池其羽师傅，他安利了个视频给我。Virink. <a href="https://www.ichunqiu.com/course/54473" target="_blank" rel="noopener">https://www.ichunqiu.com/course/54473</a></p>
<h2 id="环境准备"><a href="#环境准备" class="headerlink" title="环境准备"></a>环境准备</h2><ul>
<li><p>PHPstudy</p>
</li>
<li><p>Sublime Text 2</p>
</li>
<li><p>Firefox</p>
</li>
<li><p>…</p>
</li>
</ul>
<p>Sublime Text2插件</p>
<ul>
<li><p>CTags</p>
</li>
<li><p>PHPTidy</p>
</li>
<li><p>Alignment</p>
</li>
<li><p>ConverToUTF8</p>
</li>
</ul>
<p>其他工具</p>
<ul>
<li>vmysqlMonitoring <a href="https://github.com/virink/vMysqlMonitoring" target="_blank" rel="noopener">https://github.com/virink/vMysqlMonitoring</a></li>
</ul>
<h2 id="审计方法"><a href="#审计方法" class="headerlink" title="审计方法"></a>审计方法</h2><ul>
<li>把握全局</li>
<li>定向功能</li>
<li>敏感函数参数回溯</li>
</ul>
<h3 id="PHP安全配置"><a href="#PHP安全配置" class="headerlink" title="PHP安全配置"></a>PHP安全配置</h3><h4 id="php-ini"><a href="#php-ini" class="headerlink" title="php.ini"></a>php.ini</h4><p>register_globals = off        启用全局变量 </p>
<p>short_open_tag = On        短标签 </p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">print_r(scandir(dirname(__FILE__))); (查询当前目录信息)</span><br><span class="line">print_r(scandir(dirname(__FILE__).&quot;/../&quot;));   （上一级目录信息）</span><br></pre></td></tr></table></figure>
<p>display_error = On          错误信息控制 审计时要打开方便调试</p>
<p>error_reporting = E_ALL | E_STRICT 设置错误报告级别 审计时设置最高方便查错 </p>
<p>错误日志</p>
<ul>
<li>error_log =              位置    不写的话则加进WEB服务器的错误日志中</li>
<li>log_errors = On      日志输入进文件，而不是前端显示</li>
<li>log_errors_max_length = 1024 (0代表无限长度) 错误日志关联信息的最大长度</li>
</ul>
<p>allow_url_fopen=on             是否远程打开文件 </p>
<p>allow_url_include = off     是否包含远程文件</p>
<h3 id="危险函数及特殊函数"><a href="#危险函数及特殊函数" class="headerlink" title="危险函数及特殊函数"></a>危险函数及特殊函数</h3><h4 id="PHP代码执行函数"><a href="#PHP代码执行函数" class="headerlink" title="PHP代码执行函数"></a>PHP代码执行函数</h4><ul>
<li><p>eval</p>
</li>
<li><p>assert                                一句话<code>&lt;?php $_GET[a]($_GET[b]); ?&gt;</code>   <code>http:/xxx/test.php?a=assert&amp;b=system(&#39;ls&#39;)</code></p>
</li>
<li><p>preg_replace</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line">&lt;?php</span><br><span class="line">$a=&apos;system(&quot;dir&quot;); &apos;;</span><br><span class="line">preg_replace(&quot;/test/e&quot;,$a, &quot;jutst test&quot;)</span><br><span class="line">?&gt;</span><br><span class="line">这样就可以执行dir命令了</span><br></pre></td></tr></table></figure>
</li>
<li><p>自定义函数</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br></pre></td><td class="code"><pre><span class="line">&lt;?php</span><br><span class="line">$sfunc = &apos;sys&apos;.&apos;tem&apos;;</span><br><span class="line">$sfunc(&apos;whoami&apos;);</span><br><span class="line">?&gt;</span><br><span class="line"></span><br><span class="line">&lt;?php</span><br><span class="line"></span><br><span class="line">function test($var)&#123;</span><br><span class="line">	echo &quot;ssss&quot;;</span><br><span class="line">&#125;</span><br><span class="line">call_user_func(&quot;system&quot;,&quot;whoami&quot;);</span><br><span class="line">?&gt;</span><br></pre></td></tr></table></figure>
<p><img src="/2018/10/09/代码审计入门笔记/2.jpg" alt=""></p>
</li>
</ul>
<h4 id="包含函数"><a href="#包含函数" class="headerlink" title="包含函数"></a>包含函数</h4><ul>
<li><p>require</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">include $file;</span><br></pre></td></tr></table></figure>
</li>
</ul>
<ul>
<li><p>include</p>
</li>
<li><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line">include $file;</span><br><span class="line">include ($GET[&apos;file&apos;]);</span><br><span class="line">?file=php://filter/convert.base64-encode/resource=index.php</span><br><span class="line">?file=php://filter/read=convert.base64-encode/resource=hctf.php</span><br></pre></td></tr></table></figure>
</li>
</ul>
<ul>
<li><p>require_once</p>
</li>
<li><p>include_once</p>
</li>
</ul>
<h4 id="命令执行函数"><a href="#命令执行函数" class="headerlink" title="命令执行函数"></a>命令执行函数</h4><ul>
<li><p>exec()</p>
</li>
<li><p>passthru()</p>
</li>
<li><p>proc_open()</p>
</li>
<li><p>shell_exec()</p>
</li>
<li><p>system()</p>
</li>
<li><p>popen()</p>
</li>
</ul>
<p><img src="/2018/10/09/代码审计入门笔记/3.jpg" alt=""></p>
<h4 id="文件操作函数"><a href="#文件操作函数" class="headerlink" title="文件操作函数"></a>文件操作函数</h4><ul>
<li>copy</li>
<li>file_get_contents</li>
<li>file_put_contents</li>
<li>file</li>
<li>fopen</li>
<li>move_uploaded_file</li>
<li>readfile</li>
<li>rename</li>
<li>rmdir</li>
<li>unlink &amp; delete</li>
</ul>
<p><img src="/2018/10/09/代码审计入门笔记/4.png" alt=""></p>
<h4 id="特殊函数"><a href="#特殊函数" class="headerlink" title="特殊函数"></a>特殊函数</h4><ul>
<li>phpinfo()</li>
<li>symlink()</li>
<li>readlink</li>
<li>getenv</li>
<li>putenv</li>
<li>dl</li>
<li>ini_get</li>
<li>ini_set</li>
<li>ini_alter</li>
<li>ini_restore</li>
<li>is_numeric</li>
<li>in_array</li>
</ul>
<p><img src="/2018/10/09/代码审计入门笔记/5.jpg" alt=""></p>
<p><img src="/2018/10/09/代码审计入门笔记/6.png" alt=""></p>
<p><img src="/2018/10/09/代码审计入门笔记/7.jpg" alt=""></p>
<h2 id="XDebug"><a href="#XDebug" class="headerlink" title="XDebug"></a>XDebug</h2>
      
    </div>
    
    
    

    

    

    
      <div>
        <ul class="post-copyright">
  <li class="post-copyright-author">
    <strong>本文作者：</strong>
    lego
  </li>
  <li class="post-copyright-link">
    <strong>本文链接：</strong>
    <a href="http://legoc.gitee.io/2018/10/09/代码审计入门笔记/" title="代码审计入门笔记">http://legoc.gitee.io/2018/10/09/代码审计入门笔记/</a>
  </li>
  <li class="post-copyright-license">
    <strong>版权声明： </strong>
    本博客所有文章除特别声明外，均采用 <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" rel="external nofollow" target="_blank">CC BY-NC-SA 4.0</a> 许可协议。转载请注明出处！
  </li>
</ul>

      </div>
    

    <footer class="post-footer">
      
        <div class="post-tags">
          
            <a href="/tags/笔记/" rel="tag"># 笔记</a>
          
            <a href="/tags/PHP/" rel="tag"># PHP</a>
          
            <a href="/tags/代码审计/" rel="tag"># 代码审计</a>
          
        </div>
      

      
      
      

      
        <div class="post-nav">
          <div class="post-nav-next post-nav-item">
            
              <a href="/2018/09/27/安恒9月月赛小记/" rel="next" title="安恒9月月赛小记">
                <i class="fa fa-chevron-left"></i> 安恒9月月赛小记
              </a>
            
          </div>

          <span class="post-nav-divider"></span>

          <div class="post-nav-prev post-nav-item">
            
              <a href="/2018/10/18/护网杯总结/" rel="prev" title="护网杯总结">
                护网杯总结 <i class="fa fa-chevron-right"></i>
              </a>
            
          </div>
        </div>
      

      
      
    </footer>
  </div>
  
  
  
  </article>



    <div class="post-spread">
      
    </div>
  </div>


          </div>
          


          

  
 <div id="gitalk-container"></div>
 
  



        </div>
        
          
  
  <div class="sidebar-toggle">
    <div class="sidebar-toggle-line-wrap">
      <span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
    </div>
  </div>

  <aside id="sidebar" class="sidebar">
    
    <div class="sidebar-inner">

      

      
        <ul class="sidebar-nav motion-element">
          <li class="sidebar-nav-toc sidebar-nav-active" data-target="post-toc-wrap">
            文章目录
          </li>
          <li class="sidebar-nav-overview" data-target="site-overview-wrap">
            站点概览
          </li>
        </ul>
      

      <section class="site-overview-wrap sidebar-panel">
        <div class="site-overview">
          <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
            
              <img class="site-author-image" itemprop="image"
                src="https://raw.githubusercontent.com/legoc/legoc.github.io/master/about/index/baye.png"
                alt="lego" />
            
              <p class="site-author-name" itemprop="name">lego</p>
              <p class="site-description motion-element" itemprop="description">从小菜鸡往大菜鸡成长的路上...</p>
          </div>

          <nav class="site-state motion-element">

            
              <div class="site-state-item site-state-posts">
              
                <a href="/archives/">
              
                  <span class="site-state-item-count">41</span>
                  <span class="site-state-item-name">日志</span>
                </a>
              </div>
            

            
              
              
              <div class="site-state-item site-state-categories">
                <a href="/categories/index.html">
                  <span class="site-state-item-count">8</span>
                  <span class="site-state-item-name">分类</span>
                </a>
              </div>
            

            
              
              
              <div class="site-state-item site-state-tags">
                <a href="/tags/index.html">
                  <span class="site-state-item-count">63</span>
                  <span class="site-state-item-name">标签</span>
                </a>
              </div>
            

          </nav>

          
            <div class="feed-link motion-element">
              <a href="/atom.xml" rel="alternate">
                <i class="fa fa-rss"></i>
                RSS
              </a>
            </div>
          

          

          
          

          
          

          

        </div>
      </section>

      
      <!--noindex-->
        <section class="post-toc-wrap motion-element sidebar-panel sidebar-panel-active">
          <div class="post-toc">

            
              
            

            
              <div class="post-toc-content"><ol class="nav"><li class="nav-item nav-level-1"><a class="nav-link" href="#前言"><span class="nav-number">1.</span> <span class="nav-text">前言</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#思维导图"><span class="nav-number">2.</span> <span class="nav-text">思维导图</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#正文"><span class="nav-number">3.</span> <span class="nav-text">正文</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#环境准备"><span class="nav-number">3.1.</span> <span class="nav-text">环境准备</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#审计方法"><span class="nav-number">3.2.</span> <span class="nav-text">审计方法</span></a><ol class="nav-child"><li class="nav-item nav-level-3"><a class="nav-link" href="#PHP安全配置"><span class="nav-number">3.2.1.</span> <span class="nav-text">PHP安全配置</span></a><ol class="nav-child"><li class="nav-item nav-level-4"><a class="nav-link" href="#php-ini"><span class="nav-number">3.2.1.1.</span> <span class="nav-text">php.ini</span></a></li></ol></li><li class="nav-item nav-level-3"><a class="nav-link" href="#危险函数及特殊函数"><span class="nav-number">3.2.2.</span> <span class="nav-text">危险函数及特殊函数</span></a><ol class="nav-child"><li class="nav-item nav-level-4"><a class="nav-link" href="#PHP代码执行函数"><span class="nav-number">3.2.2.1.</span> <span class="nav-text">PHP代码执行函数</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#包含函数"><span class="nav-number">3.2.2.2.</span> <span class="nav-text">包含函数</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#命令执行函数"><span class="nav-number">3.2.2.3.</span> <span class="nav-text">命令执行函数</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#文件操作函数"><span class="nav-number">3.2.2.4.</span> <span class="nav-text">文件操作函数</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#特殊函数"><span class="nav-number">3.2.2.5.</span> <span class="nav-text">特殊函数</span></a></li></ol></li></ol></li><li class="nav-item nav-level-2"><a class="nav-link" href="#XDebug"><span class="nav-number">3.3.</span> <span class="nav-text">XDebug</span></a></li></ol></li></ol></div>
            

          </div>
        </section>
      <!--/noindex-->
      

      
        <div class="back-to-top">
          <i class="fa fa-arrow-up"></i>
          
            <span id="scrollpercent"><span>0</span>%</span>
          
        </div>
      

    </div>
  </aside>


        
      </div>
    </main>

    <footer id="footer" class="footer">
      <div class="footer-inner">
        <div class="copyright">&copy; <span itemprop="copyrightYear">2023</span>
  <span class="with-love">
    <i class="fa fa-user"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">lego</span>

  
</div>


  <div class="powered-by">由 <a class="theme-link" target="_blank" href="https://hexo.io">Hexo</a> 强力驱动</div>



  <span class="post-meta-divider">|</span>



  <div class="theme-info">主题 &mdash; <a class="theme-link" target="_blank" href="https://github.com/iissnan/hexo-theme-next">NexT.Pisces</div>




        
<div class="busuanzi-count">
  <script async src="https://dn-lbstatics.qbox.me/busuanzi/2.3/busuanzi.pure.mini.js"></script>

  

  
</div>








        
      </div>
    </footer>

    

    

  </div>

  

<script type="text/javascript">
  if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
    window.Promise = null;
  }
</script>









  












  
  
    <script type="text/javascript" src="/lib/jquery/index.js?v=2.1.3"></script>
  

  
  
    <script type="text/javascript" src="/lib/fastclick/lib/fastclick.min.js?v=1.0.6"></script>
  

  
  
    <script type="text/javascript" src="/lib/jquery_lazyload/jquery.lazyload.js?v=1.9.7"></script>
  

  
  
    <script type="text/javascript" src="/lib/velocity/velocity.min.js?v=1.2.1"></script>
  

  
  
    <script type="text/javascript" src="/lib/velocity/velocity.ui.min.js?v=1.2.1"></script>
  

  
  
    <script type="text/javascript" src="/lib/fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>
  


  


  <script type="text/javascript" src="/js/src/utils.js?v=5.1.4"></script>

  <script type="text/javascript" src="/js/src/motion.js?v=5.1.4"></script>



  
  


  <script type="text/javascript" src="/js/src/affix.js?v=5.1.4"></script>

  <script type="text/javascript" src="/js/src/schemes/pisces.js?v=5.1.4"></script>



  
  <script type="text/javascript" src="/js/src/scrollspy.js?v=5.1.4"></script>
<script type="text/javascript" src="/js/src/post-details.js?v=5.1.4"></script>



  


  <script type="text/javascript" src="/js/src/bootstrap.js?v=5.1.4"></script>



  


  




	





  





  












  <link rel="stylesheet" href="https://unpkg.com/gitalk/dist/gitalk.css">
  <script src="https://unpkg.com/gitalk/dist/gitalk.min.js"></script>
   <script type="text/javascript">
        var gitalk = new Gitalk({
          clientID: '76aae4c57ee7f811d638',
          clientSecret: 'd6d32a0bf34087bf9ee31a1a74fd5bd72cc23c92',
          repo: 'legoc.github.io',
          owner: 'legoc',
          admin: ['legoc'],
          id: decodeURI(window.location.pathname),
          distractionFreeMode: 'true'
        })
        gitalk.render('gitalk-container')           
       </script>
	   
	   
	   




  





  

  

  

  
  

  

  

  

</body>
</html>
